// 去色滤镜
.app-gray-filter {
  filter: grayscale(100%);
}

// 全局弹窗样式
// 默认按钮
.app-button-default {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 40px;
  color: #994ae7;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(90deg, rgb(246 74 255 / 10%) 0%, rgb(16 96 255 / 10%) 100%);
  border-radius: 20px;
  &:hover {
    opacity: 0.8;
  }
}

// 信息按钮
.app-button-info {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 40px;
  color: #717681;
  text-align: center;
  cursor: pointer;
  background: #f8f9fa;
  border-radius: 20px;
  &:hover {
    opacity: 0.8;
  }
}

// 主要按钮样式
.app-button-primary {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 40px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(90deg, #f64aff 0%, #1060ff 100%);
  border-radius: 20px;
  &:hover {
    opacity: 0.8;
  }
}

// 全局弹窗样式
.app-dialog {
  &.el-dialog {
    padding: 16px 24px;
    background-image: url("@/assets/background/dialog_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 192px;
    border-radius: 24px;
  }
  .app-dialog-header {
    position: relative;
    height: 40px;
    padding-top: 16px;
    text-align: center;
    .title {
      height: 24px;
      font-size: 18px;
      font-weight: 400;
      line-height: 24px;
      color: #292b30;
      text-align: center;
    }
    .close {
      position: absolute;
      top: 20px;
      right: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      font-size: 20px;
      color: #9fa2ac;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #994ae7;
        transform: rotate(180deg);
      }
    }
  }
}
